package com.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description:
 * @Author: 张锦波
 * @Date: 2024/8/3 13:39
 * @Version: 1.0
 */
@Controller
public class HelloController {
    //返回hello，springboot
    @RequestMapping("/hello")
    @ResponseBody
    public String hello() {
        return "hello,springboot";
    }
}
